﻿using System;

namespace enyo
{
    /// <summary>
    /// A box styled like an input control. 
    /// Use to arrange a set of controls adjacent to an input with all of the controls appearing to be inside the input. 
    /// Note that by default, InputBox has a layoutKind of HFLexLayout.
    /// </summary>
    public class InputBox : Control
    {
        public bool AlwaysLooksFocused { get; set; }
        public string FocusClassName { get; set; }
        public string SpacingClassName { get; set; }

        public EnyoEvent<Control> onfocus;
        public EnyoEvent<Control> onblur;

        /*TODO:is these really published??
        alwaysLooksFocusedChanged: function()
        layoutKindChanged: function()
        spacingClassNameChanged: function(inOldValue)
        */
    }
}
